package com.example.demo.controller;

import com.riku.security.common.SeCommonResponse;
import com.riku.security.model.SeSecurityApi;
import com.riku.security.model.SeSecurityMenu;
import com.riku.security.service.SeCommonService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by 1 on 2021/5/23.
 */
@Api("test")
@RestController
@RequestMapping("/test/")
public class TestController {

    @ApiOperation("test-pass")
    @GetMapping("test-pass")
    public SeCommonResponse testPass() {
        return SeCommonResponse.success();
    }
    @ApiOperation("test-block")
    @GetMapping("test-block")
    public SeCommonResponse testBlock() {
        return SeCommonResponse.success();
    }
    @ApiOperation("test-new")
    @GetMapping("test-new")
    public SeCommonResponse testNew() {
        return SeCommonResponse.success();
    }
}
